package com.nfit.shopweb.service;

import com.github.pagehelper.PageInfo;
import com.nfit.shopmodel.entity.product.ProductSpec;

import java.util.List;

/**
 * ClassName:ProductSpecService
 * Package:com.nfit.shopweb.service
 * Description
 *
 * @Author L
 * @Create 2024/12/16 15:01
 */
public interface ProductSpecService {

    PageInfo<List<ProductSpec>> page(Integer pageNum,Integer pageSize);

    void save(ProductSpec productSpec);

    void delete(Long id);

    void update(ProductSpec productSpec);

    /**
     * 查询所有商品规格
     */
    List<ProductSpec> list();
}
